package com.vito.dcs.paver.construction.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

/***
 * GPS数据上报对象
 * @author hug19
 *
 */
public class GpsUpData implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String type;
	
	private String mac;
	
	private Integer set_type;
	
	private Double lat;
	
	private Double lng;
	
	private Double height;
	
	private Double ios;
	
	private String val_1;
	
	private String val_2;
	
	private String val_3;
	
	private String val_4;
	
	private String val_5;
	
	private String val_6;
	
	private String val_7;
	
	private String val_8;
	
	private String val_9;
	
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date time;
	
	private Integer isSyc;
	
	private Integer sat_num;
	
	private Integer dif_data;
	
	private Integer data;
	
	private String seq;
	
	@JsonProperty("A1")
	private Double A1;
	
	@JsonProperty("A2")
	private Double A2;
	
	@JsonProperty("A3")
	private Double A3;
	
	@JsonProperty("Gx")
	private Double Gx;
	
	@JsonProperty("Gy")
	private Double Gy;
	
	@JsonProperty("Gz")
	private Double Gz;
	
	private String state;

	private String conId;
	
	private String sectionId;
	
	private String vehicleName;
	
	private String vehicleWidth;
	
	
	public String getVehicleName() {
		return vehicleName;
	}

	public void setVehicleName(String vehicleName) {
		this.vehicleName = vehicleName;
	}

	public String getVehicleWidth() {
		return vehicleWidth;
	}

	public void setVehicleWidth(String vehicleWidth) {
		this.vehicleWidth = vehicleWidth;
	}

	public String getSectionId() {
		return sectionId;
	}

	public void setSectionId(String sectionId) {
		this.sectionId = sectionId;
	}

	public String getConId() {
		return conId;
	}

	public void setConId(String conId) {
		this.conId = conId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public Integer getSet_type() {
		return set_type;
	}

	public void setSet_type(Integer set_type) {
		this.set_type = set_type;
	}

	public Double getLat() {
		return lat;
	}

	public void setLat(Double lat) {
		this.lat = lat;
	}

	public Double getLng() {
		return lng;
	}

	public void setLng(Double lng) {
		this.lng = lng;
	}

	public Double getHeight() {
		return height;
	}

	public void setHeight(Double height) {
		this.height = height;
	}

	public Double getIos() {
		return ios;
	}

	public void setIos(Double ios) {
		this.ios = ios;
	}

	public String getVal_1() {
		return val_1;
	}

	public void setVal_1(String val_1) {
		this.val_1 = val_1;
	}

	public String getVal_2() {
		return val_2;
	}

	public void setVal_2(String val_2) {
		this.val_2 = val_2;
	}

	public String getVal_3() {
		return val_3;
	}

	public void setVal_3(String val_3) {
		this.val_3 = val_3;
	}

	public String getVal_4() {
		return val_4;
	}

	public void setVal_4(String val_4) {
		this.val_4 = val_4;
	}

	public String getVal_5() {
		return val_5;
	}

	public void setVal_5(String val_5) {
		this.val_5 = val_5;
	}

	public String getVal_6() {
		return val_6;
	}

	public void setVal_6(String val_6) {
		this.val_6 = val_6;
	}

	public String getVal_7() {
		return val_7;
	}

	public void setVal_7(String val_7) {
		this.val_7 = val_7;
	}

	public String getVal_8() {
		return val_8;
	}

	public void setVal_8(String val_8) {
		this.val_8 = val_8;
	}

	public String getVal_9() {
		return val_9;
	}

	public void setVal_9(String val_9) {
		this.val_9 = val_9;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Integer getIsSyc() {
		return isSyc;
	}

	public void setIsSyc(Integer isSyc) {
		this.isSyc = isSyc;
	}

	public Integer getSat_num() {
		return sat_num;
	}

	public void setSat_num(Integer sat_num) {
		this.sat_num = sat_num;
	}

	public Integer getDif_data() {
		return dif_data;
	}

	public void setDif_data(Integer dif_data) {
		this.dif_data = dif_data;
	}

	public Integer getData() {
		return data;
	}

	public void setData(Integer data) {
		this.data = data;
	}

	public String getSeq() {
		return seq;
	}

	public void setSeq(String seq) {
		this.seq = seq;
	}

	public Double getA1() {
		return A1;
	}

	public void setA1(Double a1) {
		A1 = a1;
	}

	public Double getA2() {
		return A2;
	}

	public void setA2(Double a2) {
		A2 = a2;
	}

	public Double getA3() {
		return A3;
	}

	public void setA3(Double a3) {
		A3 = a3;
	}

	public Double getGx() {
		return Gx;
	}

	public void setGx(Double gx) {
		Gx = gx;
	}

	public Double getGy() {
		return Gy;
	}

	public void setGy(Double gy) {
		Gy = gy;
	}

	public Double getGz() {
		return Gz;
	}

	public void setGz(Double gz) {
		Gz = gz;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "GpsUpData [type=" + type + ", mac=" + mac + ", set_type="
				+ set_type + ", lat=" + lat + ", lng=" + lng + ", height="
				+ height + ", ios=" + ios + ", val_1=" + val_1 + ", val_2="
				+ val_2 + ", val_3=" + val_3 + ", val_4=" + val_4 + ", val_5="
				+ val_5 + ", val_6=" + val_6 + ", val_7=" + val_7 + ", val_8="
				+ val_8 + ", val_9=" + val_9 + ", time=" + time + ", isSyc="
				+ isSyc + ", sat_num=" + sat_num + ", dif_data=" + dif_data
				+ ", data=" + data + ", seq=" + seq + ", A1=" + A1 + ", A2="
				+ A2 + ", A3=" + A3 + ", Gx=" + Gx + ", Gy=" + Gy + ", Gz="
				+ Gz + ", state=" + state + "]";
	}
	
	
}
